#include <err.h>
#include <stdio.h>
#include <stdlib.h>

#include <rpm/rpmlib.h>
#include <rpm/rpmlog.h>

int main(int, char *[]);

int
main(int argc, char *argv[])
{
   int status = rpmReadConfigFiles((const char *)NULL, (const char *) NULL);
   if (status != 0) {
      errx(1, "error reading RC files");
   }
   else {
      rpmSetVerbosity(1);
      rpmShowRC(stdout);
   }

   return 0;
}
